home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tandy Sensation 2
/
Tandy Sensation II Data.iso
/
1.bat
next >
Wrap
DOS Batch File
|
1993-09-11
|
2KB
|
64 lines
@echo off
set drv=D:
if exist D:\ORIGINAL\WINDOWS\TANDYDEM.o4 goto runset
set drv=E:
if exist E:\ORIGINAL\WINDOWS\TANDYDEM.o4 goto runset
set drv=F:
if exist F:\ORIGINAL\WINDOWS\TANDYDEM.o4 goto runset
echo CD-ROM Data Disc not found.
goto exit
:runset
@echo This batch file will restore the files on C: to their condition at
@echo the time of computer purchase.
@echo *******************************************************************
@echo *******************************************************************
@echo ** WARNING: *.INI, *.GRP AND OTHER DATA FILES WILL BE REPLACED.**
@echo ** (*.ini and *.grp are copied to \SAVED directory)
@echo *******************************************************************
@echo *******************************************************************
@echo Press CTRL-C to stop operation of this batch file.
@pause
c:
cd \
if not exist c:\WINDOWS\win.ini goto chkgroups
@echo Saving *.ini to \saved directory
xcopy c:\windows\*.ini c:\saved\ /v
:chkgroups
if not exist c:\windows\main.grp goto nogroups
@echo Saving *.grp to \saved directory
xcopy c:\windows\*.grp c:\saved\ /v
:nogroups
@echo Copying cd image to hard disk. This takes about 20 minutes...
attrib -r c:\command.com
xcopy %drv%\original\*.* c:\ /s/e/v
attrib +r c:\command.com
cd \msworks
md msworks.cbt
xcopy c:\msworks\msworks c:\msworks\msworks.cbt /s/e/v
del msworks <%drv%\yes.txt
rd msworks
cd c:\windows\msapps\note_it
ren note_it.exe note-it.exe
ren note_it.hlp note-it.hlp
cd c:\windows\msapps
md note-it
xcopy c:\windows\msapps\note_it c:\windows\msapps\note-it
cd c:\windows\msapps
del note_it<%drv%\yes.txt
rd note_it
cd c:\msworks\clipart
ren man_desk.wmf man&desk.wmf
if exist c:\sb16\drv\ct-voice.drv del c:\sb16\drv\ct-voice.drv
ren c:\sb16\drv\ct_voice.drv ct-voice.drv
cd \
@echo Please reboot your machine now.
goto exit
:end
@echo Please place CD Data Disc in the drive and run this again.
:exit
set drv=
echo on